<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <script>
        if(!localStorage.getItem('currentNews')) {
            window.location.href = 'index.html';
        }
    </script>
</head>
<body>
    <div id="app"></div>
</body>
</html>